﻿using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp;

namespace RH.Template.Test
{
    //[RemoteService]
    //[Route("api/Test")]
    //public class TestController : RHTemplateController, ITestAppService
    //{
    //    private readonly ITestAppService testAppService;
    //    public TestController(ITestAppService testAppService)
    //    {
    //        this.testAppService = testAppService;
    //    }
    //    [Route("DeleteTestData")]
    //    [HttpDelete]
    //    public Task DeleteTestData()
    //    {
    //        return testAppService.DeleteTestData();
    //    }

    //    [Route("GetTestData")]
    //    [HttpGet]
    //    public Task GetTestData()
    //    {
    //        return testAppService.GetTestData();

    //    }

    //    [Route("PostTestData")]
    //    [HttpPost]
    //    public Task PostTestData()
    //    {
    //        return testAppService.PostTestData();
    //    }

    //    [Route("PutTestData")]
    //    [HttpPut]
    //    public Task PutTestData()
    //    {
    //        return testAppService.PostTestData();
    //    }
    //}
}
